.class Lcom/instagram/android/fragment/gn;
.super Lcom/instagram/android/d/j/f;
.source "SuggestedUserFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/f",
        "<",
        "Ljava/util/ArrayList",
        "<",
        "Lcom/instagram/android/model/n;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Lcom/instagram/android/fragment/gk;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/gk;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 126
    iput-object p1, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    iput-boolean p2, p0, Lcom/instagram/android/fragment/gn;->a:Z

    invoke-direct {p0}, Lcom/instagram/android/d/j/f;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 167
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/gk;->b(Lcom/instagram/android/fragment/gk;Z)Z

    .line 168
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 169
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0}, Lcom/instagram/android/fragment/gk;->e(Lcom/instagram/android/fragment/gk;)Z

    move-result v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gk;->v()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    .line 170
    return-void
.end method

.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/instagram/android/model/n;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 157
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/gk;->a(Lcom/instagram/android/fragment/gk;Z)Z

    .line 158
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->could_not_refresh_feed:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 159
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0}, Lcom/instagram/android/fragment/gk;->d(Lcom/instagram/android/fragment/gk;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 160
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->r()V

    .line 162
    :cond_0
    invoke-super {p0, p1}, Lcom/instagram/android/d/j/f;->a(Lcom/instagram/android/d/j/j;)V

    .line 163
    return-void
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 126
    check-cast p1, Ljava/util/ArrayList;

    invoke-virtual {p0, p1}, Lcom/instagram/android/fragment/gn;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method protected a(Ljava/util/ArrayList;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/instagram/android/model/n;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 130
    if-nez p1, :cond_0

    .line 131
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 134
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0}, Lcom/instagram/android/fragment/gk;->a(Lcom/instagram/android/fragment/gk;)Lcom/instagram/android/a/z;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/instagram/android/a/z;->a(Ljava/util/ArrayList;)V

    .line 137
    new-instance v1, Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V

    .line 138
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/n;

    .line 139
    invoke-virtual {v0}, Lcom/instagram/android/model/n;->a()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 141
    :cond_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    .line 142
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/gk;->a(Ljava/lang/Iterable;)V

    .line 146
    :cond_2
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gn;->a:Z

    if-eqz v0, :cond_3

    .line 147
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/gk;->j_()Landroid/widget/ListView;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setSelection(I)V

    .line 150
    :cond_3
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gn;->a:Z

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0}, Lcom/instagram/android/fragment/gk;->d(Lcom/instagram/android/fragment/gk;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 151
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/nux/a/a;->b(I)V

    .line 153
    :cond_4
    return-void
.end method

.method public b()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 174
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0, v2}, Lcom/instagram/android/fragment/gk;->b(Lcom/instagram/android/fragment/gk;Z)Z

    .line 175
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/gk;->a(Lcom/instagram/android/fragment/gk;Z)Z

    .line 176
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/a/c;->a(Z)V

    .line 177
    iget-object v0, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-static {v0}, Lcom/instagram/android/fragment/gk;->e(Lcom/instagram/android/fragment/gk;)Z

    move-result v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gn;->b:Lcom/instagram/android/fragment/gk;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gk;->v()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    .line 178
    return-void
.end method
